package co.fitstart.entity.user.basic.enums;

import com.demo2do.core.utils.Alias;

/**
 * 身体数据目标类型
 * @author haiyan_xiao
 *
 */
@Alias("bodyDataType")
public enum BodyDataType {
    WEIGHT("weight", "体重", "KG"),
    
    BODYFAT("bodyFat", "体脂", ""),
    
    SKELETALMUSCLE("skeletalMuscle", "骨骼肌", ""),
    
    BUST("bust", "胸围", "CM"),
    
    ARM("arm", "手臂围", "CM"),
    
    WAIST("waist", "腰围", "CM"),
    
    HIPS("hips", "臀围", "CM"),
    
    THIGH("thigh", "腿围", "CM");
    
    private String alias;
    
    private String description;
    
    private String unit;
    
    private BodyDataType(String alias, String description, String unit) {
        this.alias = alias;
        this.description = description;
        this.unit = unit;
    }

    /**
     * @return the alias
     */
    public String getAlias() {
        return alias;
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @return the unit
     */
    public String getUnit() {
        return unit;
    }

    /**
     * @param alias the alias to set
     */
    public void setAlias(String alias) {
        this.alias = alias;
    }

    /**
     * @param description the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * @param unit the unit to set
     */
    public void setUnit(String unit) {
        this.unit = unit;
    }
}
